package ym.ecrm.core.common.util;

import ym.ecrm.core.common.exception.AssertException;

public class Assert {

	public static void isTure(boolean expression, String message){
		if(!expression){
			throw new AssertException(message);
		}
	}
	
	public static void hasText(String text, String message){
		if(text == null || text.equals("")){
			throw new AssertException(message);
		}
	}
}
